
import createAxios from '/@/utils/axios'

const controllerUrl = '/admin/v1/commodity/settle/'

export function settleCheck(id: string) {
    return createAxios({
        url: controllerUrl + 'check',
        method: 'get',
        params: {
            id: id,
        },
    })
}


export function refusalSettle(params: object = {}) {
    return createAxios(
        {
            url: controllerUrl + 'refusal_settle',
            method: 'POST',
            data: params,
        },
        {
            showSuccessMessage: true,
        }
    )
}
